package com.maiji.cloud.microservice;

import com.maiji.cloud.response.login.ActivityShareRuleConfigResData;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "MAIJICLOUD-APPLOGIN")
public interface ActivityShareRuleConfigService {

	/**
	 * 根据类型获取活动分享规则信息
	 * @param type
	 * @return
	 */
	@PostMapping("/shareRuleConfig/getAsrcByType")
	ActivityShareRuleConfigResData getAsrcByType(@RequestBody Integer type);

}
